package com.mc.model;

public class Teacher {
    private Integer id;

    private String name;

    private String no;

    private String gender;

    private Major majorId;

    private String phone;

    private String type;

    private String qq;
    private String introduce;
    
    public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

  

    public Major getMajorId() {
		return majorId;
	}

	public void setMajorId(Major majorId) {
		this.majorId = majorId;
	}

	public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }

	@Override
	public String toString() {
		return "Teacher [id=" + id + ", name=" + name + ", no=" + no
				+ ", gender=" + gender + ", majorId=" + majorId + ", phone="
				+ phone + ", type=" + type + ", qq=" + qq + "]";
	}
    
    
}